import { axios ,pureAxios} from '@/utils/request'

const api = {
  dfs: '/dfs'
}

export function getFileListByIds (ids) {
  return axios({
    url: api.dfs + `/file/listByIds/${ids}`,
    method: 'get'
  })
}

export function downLoadFileById (id) {
  return pureAxios({
    url: api.dfs + `/file/download/${id}`,
    method: 'get',
    responseType: 'blob'
  })
}
